<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      padding: 0;
      margin: 0;

    }
    div {
      width: 200px;
      height: 200px;
      background-color: pink;
      /* visibility: visible; */
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto auto;
      animation: leftHide 3s 1s linear ;
      font-size: 10px;

    }
    div:hover {

    }
    @keyframes leftHide {
      10% {
        /* 10%时是30px,那么后面没有改变size，那就剩下的90%在30px恢复到原来size的过程*/
        /* visibility: hidden;  这种看起来没啥变化，应该是10%时是hidden但是11%就变成visble了*/
        display: none;
        color: red;
        font-size: 30px; 

      }
      50% {
        transform: translateX(-50%) scale(1.5) rotate(30deg)

      }
    }

    
    
  </style>
</head>
<body>
 <div>1111111111</div>
</body>
</html>
